package test;

import bean.A;

import java.lang.reflect.Field;

public class T01 {
    public static void main(String[] args) {
        /*try {
            Field name = A.class.getDeclaredField("name");
            name.setAccessible(true);
            A obj = new A();
            name.set(obj,"1");
            System.out.println(obj);
        } catch (NoSuchFieldException | IllegalAccessException e) {
            e.printStackTrace();
        }*/
        System.out.println(1);
        Object a = new A();
        System.out.println(a.getClass());
        //TODO
/*        Object b = "123";
        String name = "String"
        String c = (String.class) b;*/
    }
}
